<header class="header">
    <div class="nav-box">
        <div class="l nav-logo">
            <a href="{$index_url}"><img src="{$__STATIC__}images/logo.png" height="60" alt="{$seo.admin_title}"></a>
        </div>
        <div class="r navbar">
            <ul>
                {foreach name="COMMON_NAV" item="a"}
                {empty name="$a.list"}
                <li {if condition="$uri eq $a.src"} class="active"{/if}>
                <a {neq name="$a.src" value=""} href="{$a.src}"{/neq} {eq name="a.target" value="1"} target="_blank"{/eq}>{$a.title}</a>
                </li>
                {else/}
                <li class="dropdown">
                    <a {neq name="$a.src" value=""} href="{$a.src}"{/neq} {eq name="a.target" value="1"} target="_blank"{/eq}>{$a.title}<i class="bi bi-chevron-down">▼</i></a>
                    <ul>
                        {foreach name="$a.list" item="b"}
                        <li {notempty name="$b.list"} class="dropdown" {/notempty}>
                        <a {neq name="$b.src" value=""} href="{$b.src}"{/neq} {eq name="b.target" value="1"} target="_blank"{/eq}>{$b.title}{notempty name="$b.list"}<i class="bi bi-chevron-down">›</i>{/notempty}</a>
                        {notempty name="$b.list"}
                        <ul>
                            {foreach name="$b.list" item="c"}
                            <li <li {notempty name="$c.list"} class="dropdown" {/notempty}>
                            <a {neq name="$c.src" value=""} href="{$c.src}"{/neq} {eq name="b.target" value="1"} target="_blank"{/eq}>{$c.title}{notempty name="$c.list"}<i class="bi bi-chevron-down">›</i>{/notempty}</a>
                            {notempty name="$c.list"}
                            <ul>
                                {foreach name="$c.list" item="d"}
                                <li><a href="{$d.src==''?'':$d.src}" {eq name="d.target" value="1"} target="_blank"{/eq}>{$d.title}</a></li>
                                {/foreach}
                            </ul>
                            {/notempty}
                </li>
                {/foreach}
            </ul>
            {/notempty}
            </li>
            {/foreach}
            </ul>
            </li>
            {/empty}
            {/foreach}
            </ul>
        </div>
    </div>
</header>
